package com.dense.kuiniu.floatcabinet.mvp.manager.bord;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import org.litepal.crud.LitePalSupport;

import java.util.List;

/**
 * @author Administrator
 * @date 2020/11/17
 */
public class Door  extends LitePalSupport implements MultiItemEntity {
    private final int doorNumber;
    private boolean isOpen;
    private List<String> epc;

    public Door(int doorNumber) {
        this.doorNumber = doorNumber;
    }

    public int getDoorNumber() {
        return doorNumber;
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }

    public List<String> getEpc() {
        return epc;
    }

    public void setEpc(List<String> epc) {
        this.epc = epc;
    }

    @Override
    public int getItemType() {
        return 1;
    }
}